#define _CRT_SECURE_NO_WARNINGS 1
#include"SeqList.h"

void List()
{
	SeqList s;
	SeqListInit(&s);
	SeqListPushBack(&s, 1);
	SeqListPushBack(&s, 2);
	SeqListPushBack(&s, 3);
	SeqListPushBack(&s, 4);
	SeqListPushBack(&s, 5);
	SeqListPrint(&s);
	SeqListPushFront(&s, 0);
	SeqListPrint(&s);
	SeqListPopBack(&s, 5);
	SeqListPrint(&s);
	SeqListPopFront(&s, 0);
	SeqListPrint(&s);
	SeqListInsert(&s, 4, 8);
	SeqListPrint(&s);

	//SeqListDestroy(&s);

}

int main()
{
	List();

	return 0;
}